<?php
/**
 * This file is form http://findcat.cn
 *
 * @link     https://findcat.cn
 * @email    1476982312@qq.com
 */
namespace Blog\Seeder\Admin\Test;

use Carbon\Carbon;
use App\Models\FriendlyLink;
use Illuminate\Database\Seeder;

class FriendlyLinkTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        $data = [
            [
                'admin_user_id' => 1,
                'user_id'       => 1,
                'name'          => '犯二青年博客',
                'url'           => 'https://findcat.cn',
                'description'   => 'PHP是世界上最好的语言，Linux是最好用的系统',
                'sort'          => true,
                'status'        => true,
                'created_at'    => Carbon::now(),
                'updated_at'    => Carbon::now(),
            ],
        ];

        FriendlyLink::query()->insert($data);
    }
}
